package com.xiaoc.bulldozer.common.model;

import org.springframework.data.annotation.Transient;

import java.io.Serializable;

/**
 * 点赞广告位表
 *
 * @author li ruda
 *
 * @date 2019-03-04 10:22:23
 */
public class Advertise implements Serializable {
    
    private static final long serialVersionUID = 1L;
    

    /**
     * 
     */
    private Integer id;

    /**
     * 按钮文字
     */
    private String buttonText;

    private String title;


    /**
     * 图片地址
     */
    private String imgUrl;

    /**
     * 背景图片
     */
    @Transient
    private String bgImgUrl;

    /**
     * 按钮链接
     */
    private String buttonUrl;

    @Transient
    private String buttonImgUrl;

    /**
     * 1-有效、0-无效
     */
    private Integer status;

    /**
     * 广告类型 暂无
     */
    private Integer weight;

    /**
     * 0：广告位 1：申贷分享 2 信用卡分享
     */
    private String type;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 修改时间
     */
    private Long updateTime;

    /**
     * 备注
     */
    private String remark;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getButtonImgUrl() {
        return buttonImgUrl;
    }

    public void setButtonImgUrl(String buttonImgUrl) {
        this.buttonImgUrl = buttonImgUrl;
    }

    public String getBgImgUrl() {
        return bgImgUrl;
    }

    public void setBgImgUrl(String bgImgUrl) {
        this.bgImgUrl = bgImgUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getButtonText() {
        return buttonText;
    }

    public void setButtonText(String buttonText) {
        this.buttonText = buttonText;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getButtonUrl() {
        return buttonUrl;
    }

    public void setButtonUrl(String buttonUrl) {
        this.buttonUrl = buttonUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    @Override
    public String toString() {
        return "Advertise{" +
                "id=" + id +
                ", buttonText='" + buttonText + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", buttonUrl='" + buttonUrl + '\'' +
                ", status=" + status +
                ", weight=" + weight +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
